package com.freight.user.vo;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.freight.core.common.utils.NameUtil;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.data.annotation.LastModifiedDate;
import org.springframework.format.annotation.DateTimeFormat;

import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.validation.constraints.Pattern;
import java.util.Date;

@Data
public class OrderMonitorVehicleVo {

    @ApiModelProperty(value = "司机userid")
    private Long driverUserId;

    @ApiModelProperty(value = "车辆ID")
    private Long vehicleId;

    @ApiModelProperty(value = "GPS注册 1注册 2不注册")
    private String gpsRegister ;

    @ApiModelProperty(value = "报警预警订阅  1订阅 2不订阅")
    private String earlyRegister ;

    @ApiModelProperty(value = "唯一标识")
    private Long id;

    @ApiModelProperty(value = "订单id")
    private Long orderId;

    @ApiModelProperty(value = "颜色类型")
    private String colorType;

    @ApiModelProperty(value = "车牌号码")
    private String vehicleNum;

    @ApiModelProperty(value = "GPS状态")
    private String gpsState;

    @ApiModelProperty(value = "报警预警  1正常 2失败")
    private String earlyWarning;

    @ApiModelProperty(value = "所属关系")
    private String relationType;

    @ApiModelProperty(value = "姓名")
    private String nickName;

    @ApiModelProperty(value = "账号")
    private String username;

    @ApiModelProperty(value = "订单数量")
    private String orderNum;

    @ApiModelProperty(value = "作业状态")
    private String taskState;

    @ApiModelProperty(value = "认证状态")
    private Integer registStatus;

    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    @ApiModelProperty(value = "离线时间")
    private String utc;
}
